﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using WmsApp.Lookup;
using WmsApp.WindowControl;

namespace WmsApp.WmsService
{
    public partial class VPreviewStoreGoods 
    {
        /// <summary>
        /// 库存状态描述
        /// </summary>
        public string StoreGoodsStateDesc
        {
            get
            {
                if (this.Quantity >this.SafeStoreQty )
                    return "库存正常";
                else if (this.Quantity == this.SafeStoreQty)
                    return "库存警告";
                else if (this.Quantity <= this.SafeStoreQty)
                    return "低于安全库存";
                return "未知";
            }
        }
    }
}
